<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <link rel="stylesheet" href="/css/style.css">
</head>
<body>
<div class="bgc4">
  <div class="mv">
    <span class="us"></span> <h1 class="xt">欢迎来到学生成绩管理系统！</h1>
  </div>
</div>
</body>
<script src="/js/jquery-3.4.1.min.js"></script>
<script>
  // 根据登录session获取登录名
  function queryName(){
    $.ajax({
      url:"/webapi/teacher/queryinfo"
    }).done(function (rs){
      $(".us").text(rs.data.tname);
    })
  }
  $(function (){
    queryName();
  })
</script>
</html>